layui.use(['layer', 'form','element'], function(){
    var layer = layui.layer
        ,element = layui.element
        ,form = layui.form;

    layer.msg('Hello World');
});